#!/bin/env ruby
r = `ps -A -f | grep -v grep | grep -v start_fetcher | grep fetcher`
if r.gsub(/\s/,'') ==  ""
  fork{`./script/fetcher > /dev/null 2>&1 &`}
else
  puts "fetcher already running."
end
